<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:core="http://www.contact.core.com/contacts/core/ui"
        >

<ui:component>
    <style type="text/css">
        .a1 A:link {
            text-decoration: none;
            color: #20205e;
        }

        .a1 A:visited {
            text-decoration: none;
            color: #20205e;
        }

        .a1 A:active {
            text-decoration: none; /*color: yellow;*/
        }

        .a1 A:hover {
            text-decoration: none;
            background: #20205e; /*font-style: italic;*/
            color: white;
        }

    </style>
        <core:pictureForView style="width:110px; resize:both;"
                             pictureKey="photoprofile_#{contactSessionBean.focusedItem.informationId}"
                             informationId="#{contactSessionBean.focusedItem.informationId}"/>

        <a4j:outputPanel styleClass="a1" layout="block">
            <h:panelGrid style="width:100%" columns="1">
                <a4j:commandLink value="View photos (112)"
                                 action="#{contactSessionBean.focusedItem.informationId}">
                    <f:setPropertyActionListener value="viewPhotos"
                                                 target="#{accountBean.profileSpecificView}"/>
                    <f:setPropertyActionListener value="#{accountSessionBean.account.information.id}"
                                                 target="#{accountBean.informationIdForView}"/>
                </a4j:commandLink>
                <rich:separator height="1px" width="100%"/>
                <a4j:commandLink value="Send Message"
                                oncomplete="Richfaces.showModalPanel('sendMessageModalPanel'); #{rich:element('messageReceiver')}.value='#{accountSessionBean.account.information.mailId}';"
                        />
                <rich:separator height="1px" width="100%"/>
                <a4j:commandLink value="View Friends"
                                 action="#{viewFriendBean.prepareForViewAllFriends}"
                                 reRender="someoneFriendViewPanel"
                                 oncomplete="Richfaces.showModalPanel('someoneFriendViewPanel');"
                                 limitToList="true"
                        >
                    <f:setPropertyActionListener value="#{contactSessionBean.focusedItem.informationId}"
                                                 target="#{viewFriendBean.informationId}"/>
                </a4j:commandLink>
                 <rich:separator height="1px" width="100%"/>

            </h:panelGrid>
        </a4j:outputPanel>


 </ui:component>


</html>
